package com.apexsoft.assets.base.response;

import com.apexsoft.assets.base.model.Columns;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;


/**
 * @Description: 功能码格式出参
 * @author: Logan
 * @date: 2020-10-09 09:01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel
public class AResponse<T> extends QueryJSONResponse {
    @ApiModelProperty(notes = "错误代码")
    private String errCode;
    @ApiModelProperty(notes = "执行时间")
    private Long duration;
    @ApiModelProperty(notes = "输出数据")
    private T data;
    @ApiModelProperty(notes = "输出列表")
    private List<T> records;
    @ApiModelProperty(notes = "通用查询字段关系")
    private List<Columns> columns;

}
